.page {
  height: 100vh;
  background: #f6f7f8;
  display: flex;
  flex-direction: column;
  .at-modal__container{
    background: #ffffff !important;
    width: 70vw!important;
    .content-simple,.popup-title{
      font-size: 24px!important;
    }
    .at-modal__footer .at-modal__action > taro-button-core{
      height: 80px!important;
      line-height: 80px!important;
    }
    .popup-title{
      padding: 30px;
    }
    .popup-footer{
      display: flex;
      align-items: center;
      border-top: 2px solid #efefef;
      .button{
        text-align: center;
        font-size: 30px;
        flex: 1;
        height: 80px!important;
        line-height: 80px!important;
      }
    }
  }
  .at-modal__content{
    min-height: 100px !important;
  }
  .page-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .part-3{
    flex: 1;
  }
  .part-4{
    height:400px ;
  }
  .xz-head {
    padding: 0 32rpx;
    .legend {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      padding: 28rpx 0;
      border-top: 1px solid #ececec;
      position: relative;
      white-space: nowrap;
      overflow-x: auto;
      .item {
        display: flex;
        align-items: center;
        margin: 0 14rpx;
        color: #777;
        font-size: 26rpx;
        white-space: nowrap;
        .seatIcon {
          width: 32rpx;
          height: 32rpx;
          margin-right: 8rpx;
        }
      }
    }
    .head-screen{
      text-align: center;
      font-size: 20rpx;
      color: #90989F;
      position: relative;
      background: url('../../images/ticket/yingmu.png') no-repeat;
      background-position: top center;
      background-size: 360rpx;
      padding-top: 30rpx;
    }
  }
  .mainView{
    position: relative;
  }
  .xz-main {
    position: relative;
    flex: 1;
    overflow: hidden;
    touch-action: none;
    padding-bottom: 400rpx;
    .seat-map {
      position: relative;
      white-space: nowrap;
      .front {
        display: block;
        height: 200rpx;
        overflow: hidden;
        color: #646566;
        text-align: center;
        .xz-t {
          position: relative;
          display: flex;
          display: inline-block;
          align-items: center;
          margin-bottom: 32rpx;
          padding: 1px 0;
          color: #313233;
          font-weight: bold;
          font-size: 0;
          // width: 350px;

          .name {
            display: inline-block;
            padding: 0 60rpx;
            overflow: hidden;
            font-size: 24rpx;
            white-space: nowrap;
            text-overflow: ellipsis;
            vertical-align: top;
            background: #e1e1e1;
          }
          .dy-xz-l {
            display: inline-block;
            width: 12rpx;
            height: 36rpx;
          }
          .dy-xz-r {
            display: inline-block;
            width: 12rpx;
            height: 36rpx;
          }
        }
        .xz-pm {
          box-sizing: border-box;
          width: 70px;
          height: 40rpx;
          margin-bottom: 36rpx;
          color: #bcbbbb;
          font-size: 12px;
          line-height: 40rpx;
          text-align: center;
          background: #e1e1e1;
          border-radius: 20rpx;
        }
        .xz-xx {
          position: absolute;
          height: 85%;
          margin-top: -20rpx;
          border-left: 1px dashed #b5b5b5;
        }
      }
      .xz-bg {
        position: absolute;
        left: 2px;
        height: calc(100% - 150rpx);
        background: #acacac;
        border-radius: 30rpx;
      }
      .reset {
        position: fixed;
        top: 50%;
        right: 0;
        display: none;
        width: 80rpx;
        height: 80rpx;
        margin-right: 10rpx;
        color: #F8F8F8;
        font-size: 32rpx;
        line-height: 80rpx;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
      }
      .seatBox {
        padding: 20rpx 0;
      }
      .seatCharts-row {
        position: relative;
        z-index: 10;
        display: block;
        overflow-x: scroll;
        font-size: 0;
        white-space: nowrap;
        transition: all 0.3s;
        .seatCharts-space {
          color: #fff !important;
        }
        .seatCharts-cell {
          float: left;
          box-sizing: border-box;
          width: 50rpx;
          height: 50rpx;
          margin: 2px;
          color: #182c4e;
          font-size: 26rpx;
          white-space: nowrap;
          text-align: center;
          outline: none;
          transition: all 0.3s;
        }
        .seatCharts-seat {
          color: #F8F8F8;
          border-radius: 10rpx;
          cursor: pointer;
        }
        .seatCharts-seat.available {
          color: transparent;
          background: url(../../images/ticket/unselected.png) no-repeat;
          background-size: 100%;
        }
        .seatCharts-seat.unavailable {
          color: transparent;
          background: url(../../images/ticket/bought.png) no-repeat;
          background-size: 100%;
          cursor: not-allowed;
        }
        .seatCharts-seat.unEnable {
          color: transparent;
          background: url(../../images/ticket/icon111.png) no-repeat;
          background-size: 100%;
          cursor: not-allowed;
        }
        .seatCharts-seat.selected {
          color: transparent;
          background: url(../../images/ticket/selected.png) no-repeat;
          background-size: 100%;
          cursor: not-allowed;
        }
      }
    }
  }
  .zw {
    position: fixed;
    bottom: 32rpx;
    left: 32rpx;
    right: 32rpx;
    z-index: 2;
    background: #f6f7f8;
    border-radius: 32rpx;
    overflow: hidden;
    .zw-header{
      background: #fff;
      margin-bottom: 32rpx;
      padding: 32rpx 0;
      border-radius: 32rpx;
      .name {
        color: #30383F;
        font-weight: 500;
        font-size: 28rpx;
        line-height: 1;
        padding: 0 32rpx;
      }
      .text {
        padding: 16rpx 0;
        color: #60686F;
        font-size: 24rpx;
        line-height: 1;
        margin: 0 32rpx;
      }
    }
    .details{
      border-top: 1px solid #EEEEEF;
    }
    .selected-seats {
      display: flex;
      margin-top: 20rpx;
      padding-left: 32rpx;
      overflow-x: auto;
      font-size: 0;
      white-space: nowrap;
      .seletd {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 160rpx;
        margin-right: 16rpx;
        padding: 10rpx;
        color: #313233;
        font-size: 24rpx;
        text-align: center;
        background: #f6f7f8;
        border-radius: 6rpx;
        .seletd-info{
          flex: 1;
          border-right: 2rpx solid #eeeeef;
          margin-right: 6rpx;
          text-align: left;
          .bol{
            color: #FF6933;
            font-size: 28rpx;
            display: block;
            line-height: 1;
            font-weight: 400;
          }
        }
        .se-seat-del {
          width: 24rpx;
          height: 24rpx;
        }
      }
    }
    .buyBtn {
      flex: 1;
      height: 100%;
      color: #F8F8F8;
      font-size: 32rpx;
      line-height: 88rpx;
      text-align: center;
      background: #F86720;
      border-radius: 32rpx;
    }
  }
  .popup-main{
    width: 80vw;
    background: #fff;
    border-radius: 24rpx;
    padding:  40rpx;
    text-align: center;
    h2{
      font-size: 38rpx;
      font-weight: 500;
      line-height: 60rpx;
      color: #111;
    }
    p{
      margin: 30rpx 0 50rpx;
    }
    .main-agree{
      display: flex;
      align-items: center;
      justify-content: center;
      color:#646566;
      image{
        width: 40rpx;
        height: 40rpx;
        margin-right: 8rpx;
      }
    }
    button{
      font-size: 36rpx;
      line-height: 80rpx;
      color: #fff;
      text-align: center;
      width: 100%;
      font-weight: 400;
      background: #F86720;
      margin-top: 30rpx;
      border-radius: 80rpx;
      &.disabled{
        background: #949494;
      }
    }
  }
  .buy-popup{
    width: 70vw;
    background: #fff;
    border-radius: 24rpx;
    text-align: center;
    .popup-h2{
      font-size: 28rpx;
      font-weight: 500;
      padding:  40rpx;
    }
    .box-flex{
      width: 100%;
      align-items: center;
      border-top: 1px solid #EEEEEF;
      .popup-button{
        flex: 1;
        line-height: 100rpx;
        color: #1073e8;
        font-size: 30rpx;
        font-weight: 500;
        border-left: 1px solid #EEEEEF;
        &:first-child{
          border-left: 0;
        }
      }
    }
  }
  .popup-h4{
    text-align: center;
    color: #fff;
    margin-top: 40rpx;
    font-size: 36rpx;
    font-weight: 500;
  }
  .reset{
    position: absolute;
    right:0rpx;
    top:0;
    color:white;
    font-size:24rpx;
    background: rgba(0,0,0,0.6);
    border-radius: 5rpx;
    display: flex;
    width:120rpx;
    height:40rpx;
    align-items: center;
    justify-content: center;
  }
}
